Input with new line
Pascal         C/C++
var
   c: char;
   i: integer;
   r: real;
   s: packed array[1..10]
of char;
#include <stdio.h>
char c;
int i;
float r;
char s[10];
NO STANDARD PASCAL EQ.   scanf(“%s”, & s);
readln;          while(getchar() != ‘\n’);
readln(c, i, r);      scanf(“%c%d%f”, & c, & i, & r);
             while(getchar() != ‘\n’);